#include<stdio.h>
int main ()
{
	int r,i,n,c=0;
	double a,b=0.0;
	scanf("%d",&n);
	if(n<=0){
		a=0;
		c=0;
	}
	else {
		for(i=0;i<n;i++){
		    scanf("%d",&r);
	        b+=r;
	        if(r>=60){
			    c+=1;
		    }
	    }
	    a=b/n;
	}
	printf("average = %.1lf\n",a);
	printf("count = %d",c);
	return 0;
	
 } 
